package cn.iocoder.yudao.module.product.controller.admin.stockinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 库存信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StockInfoRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2819")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "0配送人 1 门店 2 气站 ", example = "2")
    @ExcelProperty("0配送人 1 门店 2 气站 ")
    private Integer ownerType;

    @Schema(description = "库存id", example = "21302")
    @ExcelProperty("库存id")
    private Long ownerId;

    @Schema(description = "skuid", example = "11191")
    @ExcelProperty("skuid")
    private Long skuId;

    @Schema(description = "spuid", example = "8535")
    @ExcelProperty("spuid")
    private Long spuId;

    @Schema(description = "sku数量", example = "24437")
    @ExcelProperty("sku数量")
    private Integer skuCount;

    @Schema(description = "版本号，乐观锁使用")
    @ExcelProperty("版本号，乐观锁使用")
    private Integer version;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    @ExcelProperty("更新人")
    private String updater;

}